package com.quanyan.operative.mapper;

import com.quanyan.operative.db.TbOpActivity;
import com.quanyan.operative.db.TbOpActivityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbOpActivityMapper {
    int countByExample(TbOpActivityExample example);

    int deleteByExample(TbOpActivityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbOpActivity record);

    int insertSelective(TbOpActivity record);

    List<TbOpActivity> selectByExample(TbOpActivityExample example);

    TbOpActivity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbOpActivity record, @Param("example") TbOpActivityExample example);

    int updateByExample(@Param("record") TbOpActivity record, @Param("example") TbOpActivityExample example);

    int updateByPrimaryKeySelective(TbOpActivity record);

    int updateByPrimaryKey(TbOpActivity record);
}